package com.fmenu.system.service;

import java.util.List;

import com.fmenu.system.domain.BnsAccessory;

/**
 * 配料Service接口
 *
 * @author zhangrui
 * @date 2021-12-22
 */
public interface IBnsAccessoryService {
    /**
     * 查询配料
     *
     * @param accessoryId 配料主键
     * @return 配料
     */
    public BnsAccessory selectBnsAccessoryByAccessoryId(Long accessoryId);

    /**
     * 查询配料列表
     *
     * @param bnsAccessory 配料
     * @return 配料集合
     */
    public List<BnsAccessory> selectBnsAccessoryList(BnsAccessory bnsAccessory);

    /**
     * 新增配料
     *
     * @param bnsAccessory 配料
     * @return 结果
     */
    public int insertBnsAccessory(BnsAccessory bnsAccessory);

    /**
     * 修改配料
     *
     * @param bnsAccessory 配料
     * @return 结果
     */
    public int updateBnsAccessory(BnsAccessory bnsAccessory);

    /**
     * 批量删除配料
     *
     * @param accessoryIds 需要删除的配料主键集合
     * @return 结果
     */
    public int deleteBnsAccessoryByAccessoryIds(Long[] accessoryIds);

    /**
     * 删除配料信息
     *
     * @param accessoryId 配料主键
     * @return 结果
     */
    public int deleteBnsAccessoryByAccessoryId(Long accessoryId);
}
